package com.qf.ssm.service;

import com.github.pagehelper.PageInfo;
import com.qf.ssm.pojo.TbStudent;

import java.util.List;

/**
 * @author 王博康
 * @version 1.0
 * @project 07_ssm
 * @description: TODO
 * @date 2022/3/10 11:28 星期四
 */
public interface StudentService {

    void addStu(TbStudent student);

    void updateStu(TbStudent student);

    TbStudent findById( Long id);

    List<TbStudent> findByName(String name);

    PageInfo<TbStudent> findAll(int pageSize, int ageNum);

}
